import { ADD_COUNT } from './types'

export const ADDCOUNT_ACTION = (value) => {
  return dispatch => {
    const action = {
      type: ADD_COUNT,
      value
    }
    dispatch(action)
  }
}